package com.example.service;

import com.alibaba.fastjson.JSONObject;
import com.example.entity.People;
import org.springframework.stereotype.Service;

/**
 *
 */
@Service
public interface PeopleService  {
    public People selectByName(String name);
    public People selectById(Long id);

    boolean deleteById(Long id);

    JSONObject selectAll();

    JSONObject update(People people);

    JSONObject insert(People people);
}
